package com.springboot_blog.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 用户注册响应 VO
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "用户注册响应")
public class RegisterVO {

    /**
     * 用户ID
     */
    @Schema(description = "用户ID", example = "1")
    private Long userId;

    /**
     * 用户名
     */
    @Schema(description = "用户名", example = "testuser")
    private String username;

    /**
     * 昵称
     */
    @Schema(description = "昵称", example = "测试用户")
    private String nickname;

    /**
     * 邮箱
     */
    @Schema(description = "邮箱", example = "test@example.com")
    private String email;

    /**
     * 注册时间
     */
    @Schema(description = "注册时间")
    private LocalDateTime registerTime;

    /**
     * 状态
     */
    @Schema(description = "账户状态：0-禁用，1-启用", example = "1")
    private Integer status;

    /**
     * 头像URL
     */
    @Schema(description = "头像URL")
    private String avatar;
}